package com.woniuxy.factory.mapper;

import com.woniuxy.factory.entity.ProductionPlan;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

@Mapper
public interface ProductionPlanMapper {
    List<ProductionPlan> selectProductionPlan(@Param("productionplan") ProductionPlan productionPlan, @Param("home") int home, @Param("limit") int limit);

    int getCount(@Param("productionplan") ProductionPlan productionPlan);

    void insertproductionPlan(ProductionPlan productionPlan);

    void deleteProductionPlan(String prpId);

    void updateProductionPlan(ProductionPlan productionPlan);
}
